/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package assisisw.smartcal.weathersubsystem;

import java.io.Serializable;
import java.util.Date;
import javax.ejb.Local;

/**
 *
 * @author Francesco
 */
@Local
public interface IWeatherCache extends Serializable 
{

    /**
     * @param entry
     */
    void addEntry ( WeatherData entry ) ;

    /**
     * @param locationName
     * @param date
     * @param hour
     * @return
     */
    WeatherData getEntry ( String locationName , Date date , int hour ) ;
    
}
